package com.gaohe.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gaohe.pojo.Orders;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface OrdersMapper extends BaseMapper<Orders> {
//    @Select("select orders.*, order_detail.* "+
//    "from orders,order_detail"+"where orders.order_id = order_detail.id and if(status != null ,) ")
    List<Orders> getAll(String status);
}
